<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery-min.js"></script>

<style type="text/css">
.forUser {
	float: right;
	margin-left: 55%;
	margin-right: 25%;
	font-size: 16px;
	font-family: 华文中宋;
	margin-top: 2px;
	font-size: 16px;
	font-size: 16px;
}

.pagetitle {
	margin-left: 10%;
}
</style>
</head>

<body>
	<div class="forUser">
		<c:if test="${empty user }">

			<i class="icon-share-alt"></i><a href="login.action?task=login" title="点击登录">登陆我的账户</a>
		</c:if>
		<c:if test="${not empty user}">
		
		
		欢迎您,<span style="font-family: 方正舒体;">${user.username}</span>
			<i class="icon-wrench"></i>
			<a href="setUser.action?userId=${user.id}">账号设置</a>
			<a href="logout.action">退出</a>
		</c:if>
	</div>

</body>
<script type="text/javascript">
	
</script>
</html>
